﻿using Peter.Common.Dialog;

namespace Peter.Sdw.Logic.Dialogs
{
   /// <summary>
   /// Dialog used to select a term.
   /// </summary>
   public class SelectTermModel : DialogBase
   {
      /// <summary>
      /// Initializes a new select term model.
      /// </summary>
      public SelectTermModel ()
      {
         this.Width = 300;
         this.Height = 400;
         this.TermList = new TermListModel { ShowAdd = false };
         this.Title = "Select a Term to use";
      }

      /// <summary>
      /// Gets the associated term list.
      /// </summary>
      public TermListModel TermList { get; private set; }
   }
}
